package tchk.xyz.lingyuntutorminiprogram.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class DashboardStatsDTO {

    // 核心数据统计卡片
    private Long todayNewUsers;
    private Long totalUsers;
    private Long todayCompletedOrders;
    private BigDecimal totalGmv; // Gross Merchandise Volume

    // 近7日订单量趋势图数据
    private List<String> last7DaysDate; // 日期列表 ["10-15", "10-16", ...]
    private List<Long> last7DaysOrderCount; // 对应的订单数量 [10, 12, ...]


    private List<Map<String, Object>> popularSubjects;
}